{"version":3,"sources":["dialog.js"],"names":["BX","namespace","UI","DialogButtonType","undefined","accept","cancel","names","EditorDialogButton","this","_id","_type","_settings","_dialog","_keyPressHandler","delegate","onKeyPress","prototype","initialize","id","settings","type","isNotEmptyString","util","getRandomString","prop","getInteger","get","bind","document","unbind","e","window","event","keyCode","onClick","getId","getDialog","prepareContent","SaveButton","text","getString","events","click","CancelButton","Button","callback","getFunction","create","self","EditorAuxiliaryDialog","_popup","_buttons","getSetting","name","defaultValue","open","PopupWindow","getElementNode","autoHide","draggable","offsetLeft","offsetTop","zIndex","overlay","getBoolean","opacity","bindOptions","forceBindPosition","titleBar","content","buttons","prepareButtons","onPopupShow","onPopupClose","onPopupDestroy","show","setTimeout","setClosingByEsc","close","isOpen","isShown","results","data","getArray","i","length","buttonData","button","push","destroy","items","isItemOpened","hasOwnProperty","hasOpenItems","key","getById","ConfirmationDialog","_confirmListener","onConfirm","_cancelListener","onCancel","_promise","_isOpened","isOpened","closeByEsc","closeIcon","top","right","className","lightShadow","PopupWindowButton","message","PopupWindowButtonLink","Promise","fulfill"],"mappings":"AAAAA,GAAGC,UAAU,SAEb,UAAUD,GAAGE,GAAGC,mBAAqB,YACrC,CACCH,GAAGE,GAAGC,kBAEJC,UAAW,EACXC,OAAQ,EACRC,OAAQ,EAERC,OAASF,OAAQ,SAAUC,OAAQ,WAItC,UAAUN,GAAGE,GAAGM,qBAAuB,YACvC,CACCR,GAAGE,GAAGM,mBAAqB,WAE1BC,KAAKC,IAAM,GACXD,KAAKE,MAAQX,GAAGE,GAAGC,iBAAiBC,UACpCK,KAAKG,aACLH,KAAKI,QAAU,KACfJ,KAAKK,iBAAmBd,GAAGe,SAASN,KAAKO,WAAYP,OAEtDT,GAAGE,GAAGM,mBAAmBS,WAExBC,WAAY,SAASC,EAAIC,GAExBX,KAAKC,IAAMV,GAAGqB,KAAKC,iBAAiBH,GAAMA,EAAKnB,GAAGuB,KAAKC,gBAAgB,GACvEf,KAAKG,UAAYQ,EAAWA,KA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